<?php
/**
 * The main template file.
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage BaiYi
 * @since BaiYi 1.0
 */
  get_header();
 ?>
        		<div class="content">
                	<?php  get_sidebar(); ?>
                    <div class="colmain">
                        <h2>OUR<span class="hel">BUSINESSES</span></h2>
                        <div class="content">
                         <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
                         	<div class="item-left">
                            	<?php the_post_thumbnail()?>
                                <div class="info">
                                	<p> <?php the_content('');?></p>
                                   	
                                </div>
                                <div class="clear"></div>
                            </div>
                        <?php endwhile; ?>
                        <?php else : ?>
                        <p>Sorry There are no posts to display, oh man!</p>
                        <?php endif; ?>
                        </div>                    	
                    </div><!--end colright-->
                    <div class="clear"></div>
                </div>
        		<?php
                    include('bar-footer.php');
                ?>
<?php 
get_footer();
?>